package routers

import (
	"github.com/astaxie/beego"
)

func init() {

	beego.GlobalControllerRouter["openapi/controllers:ChinaRegionController"] = append(beego.GlobalControllerRouter["openapi/controllers:ChinaRegionController"],
		beego.ControllerComments{
			Method: "QueryProvince",
			Router: `/province`,
			AllowHTTPMethods: []string{"get"},
			Params: nil})

	beego.GlobalControllerRouter["openapi/controllers:ChinaRegionController"] = append(beego.GlobalControllerRouter["openapi/controllers:ChinaRegionController"],
		beego.ControllerComments{
			Method: "QueryCity",
			Router: `/city`,
			AllowHTTPMethods: []string{"get"},
			Params: nil})

	beego.GlobalControllerRouter["openapi/controllers:ChinaRegionController"] = append(beego.GlobalControllerRouter["openapi/controllers:ChinaRegionController"],
		beego.ControllerComments{
			Method: "QueryCounty",
			Router: `/county`,
			AllowHTTPMethods: []string{"get"},
			Params: nil})

	beego.GlobalControllerRouter["openapi/controllers:ChinaRegionController"] = append(beego.GlobalControllerRouter["openapi/controllers:ChinaRegionController"],
		beego.ControllerComments{
			Method: "QueryTown",
			Router: `/town`,
			AllowHTTPMethods: []string{"get"},
			Params: nil})

	beego.GlobalControllerRouter["openapi/controllers:ChinaRegionController"] = append(beego.GlobalControllerRouter["openapi/controllers:ChinaRegionController"],
		beego.ControllerComments{
			Method: "ParseRegionCode",
			Router: `/parse-region`,
			AllowHTTPMethods: []string{"get"},
			Params: nil})

	beego.GlobalControllerRouter["openapi/controllers:ChinaRegionController"] = append(beego.GlobalControllerRouter["openapi/controllers:ChinaRegionController"],
		beego.ControllerComments{
			Method: "ParseRegionCodeBatch",
			Router: `/parse-region-batch`,
			AllowHTTPMethods: []string{"get"},
			Params: nil})

	beego.GlobalControllerRouter["openapi/controllers:ChinaRegionController"] = append(beego.GlobalControllerRouter["openapi/controllers:ChinaRegionController"],
		beego.ControllerComments{
			Method: "Addr2RegionCode",
			Router: `/addrtoregion`,
			AllowHTTPMethods: []string{"post"},
			Params: nil})

	beego.GlobalControllerRouter["openapi/controllers:GEOController"] = append(beego.GlobalControllerRouter["openapi/controllers:GEOController"],
		beego.ControllerComments{
			Method: "Addr2Location",
			Router: `/addr2location`,
			AllowHTTPMethods: []string{"get"},
			Params: nil})

	beego.GlobalControllerRouter["openapi/controllers:GEOController"] = append(beego.GlobalControllerRouter["openapi/controllers:GEOController"],
		beego.ControllerComments{
			Method: "Location2Addr",
			Router: `/location2addr`,
			AllowHTTPMethods: []string{"get"},
			Params: nil})

	beego.GlobalControllerRouter["openapi/controllers:GEOController"] = append(beego.GlobalControllerRouter["openapi/controllers:GEOController"],
		beego.ControllerComments{
			Method: "CoordConv",
			Router: `/coordconv`,
			AllowHTTPMethods: []string{"get"},
			Params: nil})

	beego.GlobalControllerRouter["openapi/controllers:GEOController"] = append(beego.GlobalControllerRouter["openapi/controllers:GEOController"],
		beego.ControllerComments{
			Method: "GeoHashEncode",
			Router: `/geohash/encode`,
			AllowHTTPMethods: []string{"get"},
			Params: nil})

	beego.GlobalControllerRouter["openapi/controllers:GEOController"] = append(beego.GlobalControllerRouter["openapi/controllers:GEOController"],
		beego.ControllerComments{
			Method: "GeoHashAddr",
			Router: `/geohashaddr`,
			AllowHTTPMethods: []string{"get"},
			Params: nil})

	beego.GlobalControllerRouter["openapi/controllers:IPController"] = append(beego.GlobalControllerRouter["openapi/controllers:IPController"],
		beego.ControllerComments{
			Method: "IPLocation",
			Router: `/location`,
			AllowHTTPMethods: []string{"get"},
			Params: nil})

	beego.GlobalControllerRouter["openapi/controllers:IPController"] = append(beego.GlobalControllerRouter["openapi/controllers:IPController"],
		beego.ControllerComments{
			Method: "IPLocationBatch",
			Router: `/location-batch`,
			AllowHTTPMethods: []string{"get"},
			Params: nil})

	beego.GlobalControllerRouter["openapi/controllers:LocationController"] = append(beego.GlobalControllerRouter["openapi/controllers:LocationController"],
		beego.ControllerComments{
			Method: "Location",
			Router: `/location`,
			AllowHTTPMethods: []string{"get"},
			Params: nil})

}
